100
How do I disable the full-row selection in the control

public void init()
{
	;

	super();

	exgrid1.FullRowSelect(false);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem("One");
	exgrid1.Items().AddItem("Two");
}
99
Is there any option to specify the height of the items, before adding them
public void init()
{
	;

	super();

	exgrid1.DefaultItemHeight(32);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem("One");
	exgrid1.Items().AddItem("Two");
}
98
How do lock / fix some columns to the control, so I can see them all the time, event if I scroll the columns

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.CountLockedColumns(1);
	exgrid1.BackColorLock(WinApi::RGB2int(240,240,240));
	exgrid1.ColumnAutoResize(false);
	COM::createFromVariant(exgrid1.Columns().Add("Locked")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("Un-Locked 1")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("Un-Locked 2")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("Un-Locked 3")).Width(128);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("locked"),COMVariant::createFromInt(1),"unlocked");
}
97
How do I change the control's background / foreground color on the locked area

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.CountLockedColumns(1);
	exgrid1.ForeColorLock(WinApi::RGB2int(240,240,240));
	exgrid1.BackColorLock(WinApi::RGB2int(128,128,128));
	exgrid1.ColumnAutoResize(false);
	COM::createFromVariant(exgrid1.Columns().Add("Locked")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("Un-Locked 1")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("Un-Locked 2")).Width(128);
	COM::createFromVariant(exgrid1.Columns().Add("Un-Locked 3")).Width(128);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("locked"),COMVariant::createFromInt(1),"unlocked");
}
96
How do I change the control's foreground color
public void init()
{
	;

	super();

	exgrid1.ForeColor(WinApi::RGB2int(120,120,120));
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem("item");
}
95
How do I change the control's background color

public void init()
{
	;

	super();

	exgrid1.BackColor(WinApi::RGB2int(200,200,200));
}
94
How do I use my own icons for my radio buttons

public void init()
{
	COM com_Items;
	anytype var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	exgrid1.RadioImage(0,1);
	exgrid1.RadioImage(1,2);
	COM::createFromVariant(exgrid1.Columns().Add("Radio")).Def(1/*exCellHasRadioButton*/,COMVariant::createFromBoolean(true));
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Radio 1");
		com_Items.CellState(com_Items.AddItem("Radio 2"),COMVariant::createFromInt(0),1);
		com_Items.AddItem("Radio 3");
}
93
How do I use my own icons for checkbox cells

public void init()
{
	COM com_Items;
	anytype var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	exgrid1.CheckImage(0/*Unchecked*/,1);
	exgrid1.CheckImage(1/*Checked*/,2);
	COM::createFromVariant(exgrid1.Columns().Add("Check")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Check 1");
		com_Items.CellState(com_Items.AddItem("Check 2"),COMVariant::createFromInt(0),1);
}
92
How do I perform my own sorting when user clicks the column's header

public void init()
{
	;

	super();

	exgrid1.SortOnClick(1/*exUserSort*/);
	exgrid1.Columns().Add("Column");
	exgrid1.Items().AddItem("Item 1");
	exgrid1.Items().AddItem("Item 2");
}
91
How do I disable sorting a specified column when clicking its header
public void init()
{
	;

	super();

	exgrid1.Columns().Add("1");
	COM::createFromVariant(exgrid1.Columns().Add("NoSort")).AllowSort(false);
}
90
How do I disable sorting the columns when clicking the control's header
public void init()
{
	;

	super();

	exgrid1.SortOnClick(0/*exNoSort*/);
	exgrid1.Columns().Add("1");
	exgrid1.Columns().Add("2");
}
89
How do I put a picture on the center of the control

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exgrid1.PictureDisplay(17/*MiddleCenter*/);
}
88
How do I resize/stretch a picture on the control's background

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exgrid1.PictureDisplay(49/*Stretch*/);
}
87
How do I put a picture on the control's center right bottom side

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exgrid1.PictureDisplay(34/*LowerRight*/);
}
86
How do I put a picture on the control's center left bottom side

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exgrid1.PictureDisplay(32/*LowerLeft*/);
}
85
How do I put a picture on the control's center top side

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exgrid1.PictureDisplay(1/*UpperCenter*/);
}
84
How do I put a picture on the control's right top corner

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exgrid1.PictureDisplay(2/*UpperRight*/);
}
83
How do I put a picture on the control's left top corner

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
	exgrid1.PictureDisplay(0/*UpperLeft*/);
}
82
How do I put a picture on the control's background

public void init()
{
	;

	super();

	exgrid1.Picture(exgrid1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\zipdisk.gif`)"));
}
81
How do I sort descending a column, and put the sorting icon in the column's header

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
		com_Items.AddItem("Item 3");
	var_Column = COM::createFromObject(exgrid1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(2/*SortDescending*/);
}
80
How do I sort ascending a column, and put the sorting icon in the column's header

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("Item 3");
		com_Items.AddItem("Item 1");
		com_Items.AddItem("Item 2");
	var_Column = COM::createFromObject(exgrid1.Columns()).Item(COMVariant::createFromInt(0)); com_Column = var_Column;
	com_Column.SortOrder(1/*SortAscending*/);
}
79
How do I perform my own/custom sort, using my extra strings

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("desc")).SortType(7/*SortCellDataString*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellSortData(com_Items.AddItem("A"),COMVariant::createFromInt(0),"C");
		com_Items.CellSortData(com_Items.AddItem("B"),COMVariant::createFromInt(0),"B");
		com_Items.CellSortData(com_Items.AddItem("C"),COMVariant::createFromInt(0),"A");
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
}
78
How do I perform my own/custom sort, using my extra numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("desc")).SortType(5/*SortUserData*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellSortData(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(0),COMVariant::createFromInt(2));
		com_Items.CellSortData(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.CellSortData(com_Items.AddItem(COMVariant::createFromInt(2)),COMVariant::createFromInt(0),COMVariant::createFromInt(0));
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
}
77
How do I perform my own/custom sort, using my extra numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("desc")).SortType(5/*SortUserData*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellData(com_Items.AddItem(COMVariant::createFromInt(0)),COMVariant::createFromInt(0),COMVariant::createFromInt(2));
		com_Items.CellData(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),COMVariant::createFromInt(1));
		com_Items.CellData(com_Items.AddItem(COMVariant::createFromInt(2)),COMVariant::createFromInt(0),COMVariant::createFromInt(0));
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
}
76
By default, the column gets sorted as strings, so how do I sort a column by time only

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("desc")).SortType(4/*SortTime*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem("11:00");
		com_Items.AddItem("10:10");
		com_Items.AddItem("12:12");
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
}
75
By default, the column gets sorted as strings, so how do I sort a column by date and time

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("desc")).SortType(3/*SortDateTime*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/2/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/2/2001 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/3/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/3/2001 11:00:00",213)));
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
}
74
By default, the column gets sorted as strings, so how do I sort a column by dates

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("desc")).SortType(2/*SortDate*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/1/2001 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/2/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/2/2001 11:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/3/2001 10:00:00",213)));
		com_Items.AddItem(COMVariant::createFromUtcDateTime(str2Datetime("1/3/2001 11:00:00",213)));
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
}
73
How do I sort a column by numbers

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("desc")).SortType(1/*SortNumeric*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(1));
		com_Items.AddItem(COMVariant::createFromInt(5));
		com_Items.AddItem(COMVariant::createFromInt(10));
		com_Items.SortChildren(0,COMVariant::createFromInt(0),false);
}
72
How do I hide the control's header bar
public void init()
{
	;

	super();

	exgrid1.HeaderVisible(false);
}
71
How do change the visual appearance for the control's header bar, using EBN

public void init()
{
	;

	super();

	exgrid1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
	exgrid1.BackColorHeader(0x1000000);
}
70
How do I remove the control's border
public void init()
{
	;

	super();

	exgrid1.Appearance(0/*None2*/);
}
69
I have a hierarchy and I need to filter only root items that match, with thier childs

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.FilterInclude(3/*exRootsWithChilds*/);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("R1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
	exgrid1.ApplyFilter();
}
68
I have a hierarchy and I need to filter only root items that match, without thier childs

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.FilterInclude(2/*exRootsWithoutChilds*/);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("R1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
	exgrid1.ApplyFilter();
}
67
I have a hierarchy and I need to filter only parent items that match, including thier childs

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.FilterInclude(1/*exItemsWithChilds*/);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("R1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("R2");
		com_Items.InsertItem(h,,"C1");
		com_Items.InsertItem(h,,"C2");
	exgrid1.ApplyFilter();
}
66
How can I get ride/hide of the "Filter For" field

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
}
65
Is there any way to get listed only visible items in the drop down filter window

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.Description(0/*exFilterBarAll*/,"");
	exgrid1.Description(1/*exFilterBarBlanks*/,"");
	exgrid1.Description(2/*exFilterBarNonBlanks*/,"");
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterPattern(false);
		com_Column.FilterList(1/*exVisibleItems*/);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("P2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.DisplayFilterPattern(false);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("R1");
		com_Items.CellValue(h,COMVariant::createFromInt(1),"R2");
		com_Items.CellValue(com_Items.InsertItem(h,,"Cell 1.1"),COMVariant::createFromInt(1),"Cell 1.2");
		com_Items.CellValue(com_Items.InsertItem(h,,"Cell 2.1"),COMVariant::createFromInt(1),"Cell 2.2");
}
64
How do I filter for items that match exactly the specified string

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(240/*exFilter*/);
		com_Column.Filter("Item 1");
	exgrid1.Items().AddItem("Item 1");
	exgrid1.Items().AddItem("Item 2");
	exgrid1.Items().AddItem("Item 3");
	exgrid1.ApplyFilter();
}
63
How can I can I programmatically filter for items with a specified icon assigned

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(10/*exImage*/);
		com_Column.Filter(1);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellImage(com_Items.AddItem("Image 1"),COMVariant::createFromInt(0),1);
		com_Items.CellImage(com_Items.AddItem("Image 1"),COMVariant::createFromInt(0),1);
		com_Items.CellImage(com_Items.AddItem("Image 2"),COMVariant::createFromInt(0),2);
		com_Items.CellImage(com_Items.AddItem("Image 3"),COMVariant::createFromInt(0),3);
	exgrid1.ApplyFilter();
}
62
How can I can I programmatically filter the checked items

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(6/*exCheck*/);
		com_Column.Filter(0);
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellState(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),1);
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.ApplyFilter();
}
61
How can I can I filter programmatically the items based on some numerichal rules

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(5/*exNumeric*/);
		com_Column.Filter("> 0 <= 1");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
	exgrid1.ApplyFilter();
}
60
How can I can I filter programmatically the items based on a range/interval of dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
		com_Column.FilterType(4/*exDate*/);
		com_Column.Filter("1/1/2001 to 1/1/2002");
	exgrid1.Items().AddItem("1/1/2001");
	exgrid1.Items().AddItem("2/1/2002");
	exgrid1.ApplyFilter();
}
59
How can I can I filter programmatically given a specified pattern using wild characters like * or

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(3/*exPattern*/);
		com_Column.Filter("0*");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem("00");
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem("11");
	exgrid1.ApplyFilter();
}
58
How can I can I select programmatically "Blanks/NonBlanks" option in the column's drop down filter
public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.ApplyFilter();
}
57
How can I display the column's filter

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("")).DisplayFilterButton(true);
}
56
How can I show only the vertical scroll bar

public void init()
{
	;

	super();

	exgrid1.ColumnAutoResize(true);
	exgrid1.ScrollBars(10/*exDisableNoVertical*/);
	exgrid1.Columns().Add(1);
	exgrid1.Columns().Add(2);
}
55
How can I show the control's grid lines only for added/visible items

public void init()
{
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.DrawGridLines(-2/*exRowLines*/);
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
}
54
Can I hide the hierarchy lines

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgrid1.HasLines(0/*exNoLine*/);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
}
53
Can I change the style or type for the hierarchy lines

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgrid1.HasLines(2/*exThinLine*/);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
}
52
Can I use my own icons for the +/- ( expand/collapse ) buttons

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	exgrid1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgrid1.HasButtons(4/*exCustom*/);
	exgrid1.HasButtonsCustom(0,1);
	exgrid1.HasButtonsCustom(1,2);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
}
51
How do I change visual appearance of the +/- ( expand/collapse ) buttons

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(1/*exGroupLinesAtRoot*/);
	exgrid1.HasButtons(3/*exWPlus*/);
	exgrid1.Columns().Add("Column");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root 1");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
		h = com_Items.AddItem("Root 2");
		com_Items.InsertItem(h,,"Child");
}
50
How can I change the "IsChecked/IsUnchecked" caption in the control's filter bar, when I filter for checked items

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(6/*exCheck*/);
		com_Column.Filter(0);
	exgrid1.Description(21/*exFilterBarIsChecked*/,"Check_On");
	exgrid1.Description(22/*exFilterBarIsUnchecked*/,"Check_Off");
	exgrid1.ApplyFilter();
}
49
How can I change the "Checked" caption in the drop down filter window, when I filter for checked items

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(6/*exCheck*/);
	exgrid1.Description(19/*exFilterBarChecked*/,"with check on");
	exgrid1.Description(20/*exFilterBarUnchecked*/,"with check off");
}
48
How can I change the name of the week days in the drop down calendar window, being displayed when I filter items between dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exgrid1.Description(18/*exFilterBarDateWeekDays*/,"Du Lu Ma Mi Jo Vi Si");
	exgrid1.ApplyFilter();
}
47
How can I change the name of the months in the drop down calendar window, being displayed when I filter items between dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exgrid1.Description(17/*exFilterBarDateMonths*/,"Janvier Février Mars Avril Mai Juin Juillet Août Septembre Octobre Novembre Décembre");
	exgrid1.ApplyFilter();
}
46
Can I change the "Today" caption being displayed in the drop down calendar, when I filter for dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exgrid1.Description(16/*exFilterBarDateTodayCaption*/,"Azi");
	exgrid1.ApplyFilter();
}
45
The drop down filter window displays a "to" string between two datem when I filter dates. Can I change that

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exgrid1.Description(13/*exFilterBarDateTo*/,"->");
	exgrid1.ApplyFilter();
}
44
How can I filter the items that are between an interval/range of dates

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exgrid1.ApplyFilter();
}
43
Can I change the "Date:" caption when the column's drop down filter window is shown

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.DisplayFilterDate(true);
	exgrid1.Description(12/*exFilterBarDate*/,"Range");
	exgrid1.ApplyFilter();
}
42
Can I filter for values using OR - NOT , instead AND operator

public void init()
{
	COM com_Column,com_Column1,com_Column2;
	anytype var_Column,var_Column1,var_Column2;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column 1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("Column 2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterType(1/*exBlanks*/);
	var_Column2 = COM::createFromVariant(exgrid1.Columns().Add("Column 3")); com_Column2 = var_Column2;
		com_Column2.DisplayFilterButton(true);
		com_Column2.FilterType(1/*exBlanks*/);
	exgrid1.FilterCriteria("%0 or not %1 and %2");
	exgrid1.ApplyFilter();
}
41
Can I change the NOT string in the filter bar

public void init()
{
	COM com_Column,com_Column1;
	anytype var_Column,var_Column1;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column 1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("Column 2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterType(2/*exNonBlanks*/);
	exgrid1.FilterCriteria("not %0 or %1");
	exgrid1.Description(24/*exFilterBarNot*/," ! ");
	exgrid1.Description(10/*exFilterBarIsNonBlank*/," ! IsBlank");
	exgrid1.ApplyFilter();
}
40
Can I change the OR string in the filter bar

public void init()
{
	COM com_Column,com_Column1;
	anytype var_Column,var_Column1;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column 1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("Column 2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterType(2/*exNonBlanks*/);
	exgrid1.FilterCriteria("%0 or %1");
	exgrid1.Description(23/*exFilterBarOr*/," | ");
	exgrid1.ApplyFilter();
}
39
Can I change the AND string in the filter bar

public void init()
{
	COM com_Column,com_Column1;
	anytype var_Column,var_Column1;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column 1")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("Column 2")); com_Column1 = var_Column1;
		com_Column1.DisplayFilterButton(true);
		com_Column1.FilterType(2/*exNonBlanks*/);
	exgrid1.Description(11/*exFilterBarAnd*/," & ");
	exgrid1.ApplyFilter();
}
38
The "IsBlank" caption shown in the control's filterbar when I select "Blanks" or "NonBlanks" items in the column's drop down filter window

public void init()
{
	COM com_Column;
	anytype var_Column;
	;

	super();

	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Column")); com_Column = var_Column;
		com_Column.DisplayFilterButton(true);
		com_Column.FilterType(1/*exBlanks*/);
	exgrid1.Description(9/*exFilterBarIsBlank*/,"Is Empty");
	exgrid1.Description(10/*exFilterBarIsNonBlank*/,"Is Not Empty");
	exgrid1.ApplyFilter();
}
37
Is there any option to remove the tooltip when the cursor hovers the column's drop down filter window

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column")).DisplayFilterButton(true);
	exgrid1.Description(4/*exFilterBarFilterTitle*/,"");
	exgrid1.Description(5/*exFilterBarPatternFilterTitle*/,"");
	exgrid1.Description(6/*exFilterBarTooltip*/,"");
	exgrid1.Description(7/*exFilterBarPatternTooltip*/,"");
	exgrid1.Description(8/*exFilterBarFilterForTooltip*/,"");
	exgrid1.Description(14/*exFilterBarDateTooltip*/,"");
	exgrid1.Description(15/*exFilterBarDateTitle*/,"");
}
36
How can I change the "Filter For" caption in the column's drop down filter window

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column")).DisplayFilterButton(true);
	exgrid1.Description(3/*exFilterBarFilterForCaption*/,"new caption");
}
35
Can I remove the "All", "Blanks" and "NonBlanks" items in the drop down filter window

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column")).DisplayFilterButton(true);
	exgrid1.Description(0/*exFilterBarAll*/,"");
	exgrid1.Description(1/*exFilterBarBlanks*/,"");
	exgrid1.Description(2/*exFilterBarNonBlanks*/,"");
}
34
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column")).DisplayFilterButton(true);
	exgrid1.Description(0/*exFilterBarAll*/,"new name for (All)");
}
33
How can I change the position of the column

public void init()
{
	;

	super();

	exgrid1.Columns().Add("Column 1");
	COM::createFromVariant(exgrid1.Columns().Add("Column 2")).Position(0);
}
32
Can I make strikeout the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HeaderStrikeOut(true);
}
31
How can I apply an strikeout font only a portion of the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HTMLCaption("<s>Col</s>umn 1");
}
30
How can I get underlined only a portion of column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HTMLCaption("<u>Col</u>umn 1");
}
29
How can I underline the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HeaderUnderline(true);
}
28
How can I apply an italic font only a portion of the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HTMLCaption("<i>Col</i>umn 1");
}
27
Is there any option to make italic the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HeaderItalic(true);
}
26
How can I bold only a portion of the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HTMLCaption("<b>Col</b>umn 1");
}
25
Is there any option to bold the column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HeaderBold(true);
}
24
Why child items are not shown

public void init()
{
	COM com_Items;
	anytype var_Items;
	int h;
	;

	super();

	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	exgrid1.Columns().Add("Column 1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
}
23
Does your control support partial-check ( three states ) feature for each column

public void init()
{
	COM com_Column,com_Column1,com_Items;
	anytype var_Column,var_Column1,var_Items;
	int h;
	;

	super();

	exgrid1.BeginUpdate();
	exgrid1.LinesAtRoot(-1/*exLinesAtRoot*/);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("P1")); com_Column = var_Column;
		com_Column.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column.PartialCheck(true);
	var_Column1 = COM::createFromVariant(exgrid1.Columns().Add("P2")); com_Column1 = var_Column1;
		com_Column1.Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
		com_Column1.PartialCheck(true);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		h = com_Items.AddItem("Root");
		com_Items.InsertItem(h,,"Child 1");
		com_Items.InsertItem(h,,"Child 2");
		com_Items.ExpandItem(h,true);
	exgrid1.EndUpdate();
}
22
Is there any option to change the color for the grid lines

public void init()
{
	;

	super();

	exgrid1.Columns().Add("");
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.GridLineColor(WinApi::RGB2int(255,0,0));
}
21
Can I change the font to display the column's header

public void init()
{
	;

	super();

	exgrid1.HeaderHeight(34);
	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HTMLCaption("<font Tahoma;14>Column</font> 1");
}
20
Can I change the height of the header bar

public void init()
{
	;

	super();

	exgrid1.HeaderHeight(32);
}
19
Can I display multiple icons to the column's header

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).HTMLCaption("1<img>1</img> 2 <img>2</img>...");
}
18
How can I draw grid lines only for visible items

public void init()
{
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.DrawGridLines(-2/*exRowLines*/);
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
}
17
How can I show the control's grid lines

public void init()
{
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.DrawGridLines(-1/*exAllLines*/);
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
}
16
How can I assign a different background color for the entire column

public void init()
{
	;

	super();

	exgrid1.MarkSearchColumn(false);
	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).Def(4/*exCellBackColor*/,COMVariant::createFromInt(255));
	exgrid1.Columns().Add("Column 2");
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
}
15
How can I assign a check box for a cell

public void init()
{
	COM com_Items;
	anytype var_Items;
	;

	super();

	exgrid1.Columns().Add("Column 1");
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.AddItem(COMVariant::createFromInt(0));
		com_Items.CellHasCheckBox(com_Items.AddItem(COMVariant::createFromInt(1)),COMVariant::createFromInt(0),true);
		com_Items.AddItem(COMVariant::createFromInt(2));
}
14
How can I assign checkboxes for the entire column

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).Def(0/*exCellHasCheckBox*/,COMVariant::createFromBoolean(true));
	exgrid1.Items().AddItem(COMVariant::createFromInt(0));
	exgrid1.Items().AddItem(COMVariant::createFromInt(1));
	exgrid1.Items().AddItem(COMVariant::createFromInt(2));
}
13
How can I show both scrollbars
public void init()
{
	;

	super();

	exgrid1.ScrollBars(15/*exDisableBoth*/);
}
12
How can I change the column's width

public void init()
{
	;

	super();

	exgrid1.ColumnAutoResize(false);
	COM::createFromVariant(exgrid1.Columns().Add("Column 1")).Width(64);
	COM::createFromVariant(exgrid1.Columns().Add("Column 2")).Width(128);
}
11
How can I show or hide a column
public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Hidden")).Visible(false);
}
10
How can I hide the searching column
public void init()
{
	;

	super();

	exgrid1.MarkSearchColumn(false);
	exgrid1.Columns().Add("Column 1");
	exgrid1.Columns().Add("Column 2");
	exgrid1.Items().AddItem();
}
9
Can I disable sorting a column, when the user clicks the column's header, or drag it to the sort bar
public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Unsortable")).AllowSort(false);
	exgrid1.Columns().Add("Sortable");
}
8
Is there any option to align the header to the left and the data to the right

public void init()
{
	COM com_Column,com_Items;
	anytype var_Column,var_Items;
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("Left")).Alignment(0/*LeftAlignment*/);
	var_Column = COM::createFromVariant(exgrid1.Columns().Add("Right")); com_Column = var_Column;
		com_Column.Alignment(2/*RightAlignment*/);
		com_Column.HeaderAlignment(2/*RightAlignment*/);
	var_Items = exgrid1.Items(); com_Items = var_Items;
		com_Items.CellValue(com_Items.AddItem("left"),COMVariant::createFromInt(1),"right");
}
7
Can I displays a custom size picture to column's header

public void init()
{
	;

	super();

	exgrid1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
	exgrid1.HeaderHeight(48);
	COM::createFromVariant(exgrid1.Columns().Add("ColumnName")).HTMLCaption("<b>HTML</b> Column <img>pic1</img> Picture");
}
6
How can I insert an icon to column's header

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(exgrid1.Columns().Add("ColumnName")).HTMLCaption("<b>HTML</b> Column <img>1</img> Icon");
}
5
How can I insert an icon to column's header

public void init()
{
	str var_s;
	;

	super();

	var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
	var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
	var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
	var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
	exgrid1.Images(COMVariant::createFromStr(var_s));
	COM::createFromVariant(exgrid1.Columns().Add("ColumnName")).HeaderImage(1);
}
4
How can I use HTML format in column's header

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("ColumnName")).HTMLCaption("<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn");
}
3
How can I change/rename the column's name

public void init()
{
	;

	super();

	COM::createFromVariant(exgrid1.Columns().Add("ColumnName")).Caption("NewName");
}
2
How can I add multiple columns

public void init()
{
	COM com_Columns;
	anytype var_Columns;
	;

	super();

	var_Columns = exgrid1.Columns(); com_Columns = var_Columns;
		com_Columns.Add("Column 1");
		com_Columns.Add("Column 2");
}
1
How can I add a new column

public void init()
{
	;

	super();

	exgrid1.Columns().Add("new");
}